interface AppType {
  id: number;
  category_id: number;
  user_id: number;
  name: string;
  title: string;
  keywords: string;
  description: string;
  price: string;
  demo_url: string;
  version: string;
  status: number;
  update_log: string;
  has_bought: number;
  buy_url: string;
  installed: number;
  need_update: number;
  installed_app: {
    has_admin: number;
    id: number;
    name: string;
    status: number;
    title: string;
    type: number;
    version: string;
  };
}

interface PluginType {
  id: number;
  category_id: number;
  user_id: number;
  name: string;
  title: string;
  keywords: string;
  description: string;
  price: string;
  demo_url: string;
  version: string;
  status: number;
  update_log: string;
  has_bought: number;
  buy_url: string;
  installed: number;
  need_update: number;
  installed_plugin: {
    has_admin: number;
    id: number;
    name: string;
    status: number;
    title: string;
    type: number;
    version: string;
  };
}

interface ThemeType {
  id: number;
  category_id: number;
  user_id: number;
  name: string;
  title: string;
  keywords: string;
  description: string;
  price: string;
  demo_url: string;
  version: string;
  status: number;
  update_log: string;
  has_bought: number;
  buy_url: string;
  installed: number;
  need_update: number;
  installed_theme: {
    id: number;
    theme: string;
    version: string;
  };
}

export type { AppType, PluginType, ThemeType };
